package com.itheima.crm.service;

import java.util.List;

import com.itheima.common.utils.Page;


import com.itheima.crm.pojo.YuanGong;

public interface YuanGongService {
	
	// 通过四个条件 查询分页对象
	public Page<YuanGong> selectPageByQueryVo(YuanGong vo);
	
	public String selectYuanGongAll(YuanGong vo);
	//通过ID查询客户
	public YuanGong selectYuanGongById(Integer id);
	
	//修改客户通过ID
	public void updateYuanGongById(YuanGong yuangong);
	
	//插入员工信息
	public void insertYuanGong(YuanGong yuangong);
	//通过ID 删除客户
	public void deleteYuanGongById(Integer id);
	//查询部门经理信息
	public void updateManagerByOrganization();
	//通过部门查询经理
	public String selectManagerByYuanGong(String yuangong);
	//删除员工后查询员工表中是否还有这个部门
	public Integer selectYuanGongHaveAfterDelete(String org);
	
	public void updatesRegisterMessage(YuanGong yuangong);
	
	public YuanGong selectLogin(YuanGong yuangong);
	
	
	
	public String selectYuanGongByNumber(Integer id);
	
	public YuanGong selectYuanGongByYGid(Integer ygid);
	
	public void updatePic(YuanGong yuangong);
	
	public Integer MaxId();
	
	public void changeQuanXian(YuanGong yuangong);
	
	public List<YuanGong> zhiweichongfu(YuanGong yuangong);
	
}
